package cn.yyh.serviceOrg.mapper;

import cn.yyh.commons.mapper.MyBaseMapper;
import cn.yyh.commons.utils.BaseQuery;
import cn.yyh.serviceOrg.entity.SystemDictionaryDetail;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yang
 * @since 2021-07-10
 */
@Repository
public interface SystemDictionaryDetailMapper extends MyBaseMapper<SystemDictionaryDetail> {
    Boolean deleteAll(Long id);

    Integer countByQuery(Long id, BaseQuery query);

    List<SystemDictionaryDetail> pageQuery(Long id, BaseQuery query);

    List<SystemDictionaryDetail> listDetails(Long id);
}
